package com.eshop.modules.shop.service.dto;

import java.util.Date;
import java.io.Serializable;

public class AppVersionDto implements Serializable
{
    private Integer id;
    private Integer isDel;
    private Date createTime;
    private Date updateTime;
    private String versionCode;
    private String versionName;
    private String versionInfo;
    private String androidUrl;
    private Integer forceUpdate;
    private String iosUrl;
    
    public Integer getId() {
        return this.id;
    }
    
    public Integer getIsDel() {
        return this.isDel;
    }
    
    public Date getCreateTime() {
        return this.createTime;
    }
    
    public Date getUpdateTime() {
        return this.updateTime;
    }
    
    public String getVersionCode() {
        return this.versionCode;
    }
    
    public String getVersionName() {
        return this.versionName;
    }
    
    public String getVersionInfo() {
        return this.versionInfo;
    }
    
    public String getAndroidUrl() {
        return this.androidUrl;
    }
    
    public Integer getForceUpdate() {
        return this.forceUpdate;
    }
    
    public String getIosUrl() {
        return this.iosUrl;
    }
    
    public void setId(final Integer id) {
        this.id = id;
    }
    
    public void setIsDel(final Integer isDel) {
        this.isDel = isDel;
    }
    
    public void setCreateTime(final Date createTime) {
        this.createTime = createTime;
    }
    
    public void setUpdateTime(final Date updateTime) {
        this.updateTime = updateTime;
    }
    
    public void setVersionCode(final String versionCode) {
        this.versionCode = versionCode;
    }
    
    public void setVersionName(final String versionName) {
        this.versionName = versionName;
    }
    
    public void setVersionInfo(final String versionInfo) {
        this.versionInfo = versionInfo;
    }
    
    public void setAndroidUrl(final String androidUrl) {
        this.androidUrl = androidUrl;
    }
    
    public void setForceUpdate(final Integer forceUpdate) {
        this.forceUpdate = forceUpdate;
    }
    
    public void setIosUrl(final String iosUrl) {
        this.iosUrl = iosUrl;
    }
    
    @Override
    public boolean equals(final Object o) {
        if (o == this) {
            return true;
        }
        if (!(o instanceof AppVersionDto)) {
            return false;
        }
        final AppVersionDto other = (AppVersionDto)o;
        if (!other.canEqual(this)) {
            return false;
        }
        final Object this$id = this.getId();
        final Object other$id = other.getId();
        Label_0065: {
            if (this$id == null) {
                if (other$id == null) {
                    break Label_0065;
                }
            }
            else if (this$id.equals(other$id)) {
                break Label_0065;
            }
            return false;
        }
        final Object this$isDel = this.getIsDel();
        final Object other$isDel = other.getIsDel();
        Label_0102: {
            if (this$isDel == null) {
                if (other$isDel == null) {
                    break Label_0102;
                }
            }
            else if (this$isDel.equals(other$isDel)) {
                break Label_0102;
            }
            return false;
        }
        final Object this$forceUpdate = this.getForceUpdate();
        final Object other$forceUpdate = other.getForceUpdate();
        Label_0139: {
            if (this$forceUpdate == null) {
                if (other$forceUpdate == null) {
                    break Label_0139;
                }
            }
            else if (this$forceUpdate.equals(other$forceUpdate)) {
                break Label_0139;
            }
            return false;
        }
        final Object this$createTime = this.getCreateTime();
        final Object other$createTime = other.getCreateTime();
        Label_0176: {
            if (this$createTime == null) {
                if (other$createTime == null) {
                    break Label_0176;
                }
            }
            else if (this$createTime.equals(other$createTime)) {
                break Label_0176;
            }
            return false;
        }
        final Object this$updateTime = this.getUpdateTime();
        final Object other$updateTime = other.getUpdateTime();
        Label_0213: {
            if (this$updateTime == null) {
                if (other$updateTime == null) {
                    break Label_0213;
                }
            }
            else if (this$updateTime.equals(other$updateTime)) {
                break Label_0213;
            }
            return false;
        }
        final Object this$versionCode = this.getVersionCode();
        final Object other$versionCode = other.getVersionCode();
        Label_0250: {
            if (this$versionCode == null) {
                if (other$versionCode == null) {
                    break Label_0250;
                }
            }
            else if (this$versionCode.equals(other$versionCode)) {
                break Label_0250;
            }
            return false;
        }
        final Object this$versionName = this.getVersionName();
        final Object other$versionName = other.getVersionName();
        Label_0287: {
            if (this$versionName == null) {
                if (other$versionName == null) {
                    break Label_0287;
                }
            }
            else if (this$versionName.equals(other$versionName)) {
                break Label_0287;
            }
            return false;
        }
        final Object this$versionInfo = this.getVersionInfo();
        final Object other$versionInfo = other.getVersionInfo();
        Label_0324: {
            if (this$versionInfo == null) {
                if (other$versionInfo == null) {
                    break Label_0324;
                }
            }
            else if (this$versionInfo.equals(other$versionInfo)) {
                break Label_0324;
            }
            return false;
        }
        final Object this$androidUrl = this.getAndroidUrl();
        final Object other$androidUrl = other.getAndroidUrl();
        Label_0361: {
            if (this$androidUrl == null) {
                if (other$androidUrl == null) {
                    break Label_0361;
                }
            }
            else if (this$androidUrl.equals(other$androidUrl)) {
                break Label_0361;
            }
            return false;
        }
        final Object this$iosUrl = this.getIosUrl();
        final Object other$iosUrl = other.getIosUrl();
        if (this$iosUrl == null) {
            if (other$iosUrl == null) {
                return true;
            }
        }
        else if (this$iosUrl.equals(other$iosUrl)) {
            return true;
        }
        return false;
    }
    
    protected boolean canEqual(final Object other) {
        return other instanceof AppVersionDto;
    }
    
    @Override
    public int hashCode() {
        final int PRIME = 59;
        int result = 1;
        final Object $id = this.getId();
        result = result * 59 + (($id == null) ? 43 : $id.hashCode());
        final Object $isDel = this.getIsDel();
        result = result * 59 + (($isDel == null) ? 43 : $isDel.hashCode());
        final Object $forceUpdate = this.getForceUpdate();
        result = result * 59 + (($forceUpdate == null) ? 43 : $forceUpdate.hashCode());
        final Object $createTime = this.getCreateTime();
        result = result * 59 + (($createTime == null) ? 43 : $createTime.hashCode());
        final Object $updateTime = this.getUpdateTime();
        result = result * 59 + (($updateTime == null) ? 43 : $updateTime.hashCode());
        final Object $versionCode = this.getVersionCode();
        result = result * 59 + (($versionCode == null) ? 43 : $versionCode.hashCode());
        final Object $versionName = this.getVersionName();
        result = result * 59 + (($versionName == null) ? 43 : $versionName.hashCode());
        final Object $versionInfo = this.getVersionInfo();
        result = result * 59 + (($versionInfo == null) ? 43 : $versionInfo.hashCode());
        final Object $androidUrl = this.getAndroidUrl();
        result = result * 59 + (($androidUrl == null) ? 43 : $androidUrl.hashCode());
        final Object $iosUrl = this.getIosUrl();
        result = result * 59 + (($iosUrl == null) ? 43 : $iosUrl.hashCode());
        return result;
    }
    
    @Override
    public String toString() {
        return "AppVersionDto(id=" + this.getId() + ", isDel=" + this.getIsDel() + ", createTime=" + this.getCreateTime() + ", updateTime=" + this.getUpdateTime() + ", versionCode=" + this.getVersionCode() + ", versionName=" + this.getVersionName() + ", versionInfo=" + this.getVersionInfo() + ", androidUrl=" + this.getAndroidUrl() + ", forceUpdate=" + this.getForceUpdate() + ", iosUrl=" + this.getIosUrl() + ")";
    }
}
